package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

public interface OrderSettingService {
    /**
     * 当月预约信息展示
     * @param year
     * @param month
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(Integer year, Integer month);

    /**
     * 可预约单独设置
     * @param orderDate
     * @param number
     */
    void editNumberByDate(Date orderDate, Integer number);

    /**
     * 批量插入数据
     * @param orderSettings
     */
    void addAll(List<OrderSetting> orderSettings);
}
